import request from '@/utils/request'

// 查询政策审核列表
export function listPolicyApprove(query) {
  return request({
    url: '/bus/policyApprove/list',
    method: 'get',
    params: query
  })
}

// 查询政策审核详细
export function getPolicyApprove(policyId) {
  return request({
    url: '/bus/policyApprove/' + policyId,
    method: 'get'
  })
}

// 新增政策审核
export function addPolicyApprove(data) {
  return request({
    url: '/bus/policyApprove',
    method: 'post',
    data: data
  })
}

// 修改政策审核
export function updatePolicyApprove(data) {
  return request({
    url: '/bus/policyApprove',
    method: 'put',
    data: data
  })
}

// 删除政策审核
export function delPolicyApprove(approveId) {
  return request({
    url: '/bus/policyApprove/' + approveId,
    method: 'delete'
  })
}
